package com.wyk.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@MapperScan("com.wyk.admin.dao.mapper")
@EnableDiscoveryClient
@EnableFeignClients("com.wyk.admin.remote")
@ComponentScan({"com.wyk.admin"})
@SpringBootApplication
public class ShortlinkApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShortlinkApplication.class,args);
    }
}